<?php

/** 
 * @author Nguyen
 * 
 */
interface IController {
	public function run();
	/**
	 * Default Action
	 * @return array
	 */
	public function indexAction();
	/**
	 * Get All Entity in Database
	 * @return array
	 */
	public function getallAction();
	/**
	 * Get Get ab Entity in Database by ID
	 * @return array
	 */
	public function getbyidAction();
	/**
	 * Get Inserst or Update an Entity in Database
	 * @return array
	 */
	public function getioruAction();
	/**
	 * Get Delete an Entity in Database
	 * @return array
	 */
	public function getdeleteAction();
	/**
	 * Initialize Controller Enviroment.
	 */
	public function _init();
	/**
	 * edit and insert
	 */
	public function editAction();
	/**
	 * change sell off on index
	 */
	public function changeselloffAction(); 
	
	/**
	 *  change status
	 */
	public function updatestatusAction();
	/**
	 * 
	 * @param String $blockname
	 */
	public function block($blockname);

}

?>